<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Pagina Principal do Usuario</title>
</head>
<body>
<%@include file="/pages/common-pages/headerPaginaDeLogin.jsp" %>

 
    <div class="jumbotron">
    
    </div>
      <div class="container">
      
      <h1>Esqueci minha Senha</h1><br>
      
      	<s:form role="form center" action="login_trocarSenha" theme="simple">      	
	      	<s:if test="%{mensagemDeFalha != null && mensagemDeFalha != ''}"> 
	             <div class="alert alert-danger">
	                   <s:label value="%{mensagemDeFalha}"></s:label>
	             </div>
	        </s:if>     
			<s:if test="%{mensagemDeSucesso != null && mensagemDeSucesso != ''}"> 
				<div class="alert alert-sucess">
					<s:label value="%{mensagemDeSucesso}"></s:label>
				</div>
			</s:if>
			<s:if test="hasActionErrors() || hasFieldErrors()"> 
			    <div class="alert alert-danger">          
			        <s:fielderror/>                        
			        <s:actionerror/>                        
			    </div> 
			</s:if>         
		  	<div class="form-group">
			    <label for="inputDeEmail">E-mail</label>
			    <s:textfield name="emailInserido" cssClass="form-control center" value="%{emailInserido}" id="inputDeEmail"/>
		  	</div>
		  	
		  	
		  <s:submit cssClass="btn btn-success" value=" Aterar Senha"/>
		</s:form>  
		     
      
    </div>

</body>
</html>